import Vue from 'vue'
import App from './App.vue'
import Element from 'element-ui'
import store from './store'
import router from './router'

import Axios from 'axios'
Vue.prototype.axios = Axios

// import './views/styles/index.js'

import './utils/permission'
import './assets/css/init.css'
import 'element-ui/lib/theme-chalk/index.css'
import animated from 'animate.css'
import './utils/dialog'

import Component from '@/components/index'
// 注册全局组件
Vue.use(Component)

import * as echarts from 'echarts'
Vue.prototype.$echarts = echarts
Vue.prototype.test = '1test3'
// import '../mock/login'
import '../mock'
import './utils/dialog'

Vue.use(Element)
Vue.use(animated)

Vue.config.productionTip = false

new Vue({
  render: (h) => h(App),
  router,
  store,
}).$mount('#app')
